import { axios } from '@/utils/request'

/**
 * 查询车型表
 *
 * @author gyp
 * @date 2025-01-13 14:31:03
 */
export function autohomeVehicleModelPage (parameter) {
  return axios({
    url: '/autohomeVehicleModel/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 车型表列表
 *
 * @author gyp
 * @date 2025-01-13 14:31:03
 */
export function autohomeVehicleModelList (parameter) {
  return axios({
    url: '/autohomeVehicleModel/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加车型表
 *
 * @author gyp
 * @date 2025-01-13 14:31:03
 */
export function autohomeVehicleModelAdd (parameter) {
  return axios({
    url: '/autohomeVehicleModel/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑车型表
 *
 * @author gyp
 * @date 2025-01-13 14:31:03
 */
export function autohomeVehicleModelEdit (parameter) {
  return axios({
    url: '/autohomeVehicleModel/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除车型表
 *
 * @author gyp
 * @date 2025-01-13 14:31:03
 */
export function autohomeVehicleModelDelete (parameter) {
  return axios({
    url: '/autohomeVehicleModel/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出车型表
 *
 * @author gyp
 * @date 2025-01-13 14:31:03
 */
export function autohomeVehicleModelExport (parameter) {
  return axios({
    url: '/autohomeVehicleModel/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
